﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Gencode.PrsCommon.Data.Plan
{
    public class Style
    {
        string m_font;
        /// <summary>
        /// Font of the Grid. Fefault: Microsoft Sans Serif
        /// </summary>
        public string Font
        {
            get
            {
                if (m_font == null || m_font == string.Empty)
                    return "Microsoft Sans Serif";
                return m_font;
            }
            set
            {
                m_font = value;
            }
        }

        int m_fontSize;
        public int FontSize
        {
            get
            {
                if (m_fontSize == 0)
                    return 7;
                return m_fontSize;
            }
            set
            {
                m_fontSize = value;
            }
        }
    }
}
